package sample03;

public class SCV extends CGroundUnit implements IRepairable {
	SCV() {
		super(60);
		name = "SCV";
		hitPoint = MAX_HP;
		humanCount = 1;
	}
	
	void repair(IRepairable r) {
		if (r instanceof CUnit) {
			CUnit u = (CUnit) r;
			while(u.hitPoint != u.MAX_HP) {
				u.hitPoint++;
			}
		}
	}
}
